<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>假日列表</title>
<link rel="stylesheet" type="text/css" href="${_siteThemePath}/bootstrap.css" />
<link rel="shortcut icon" href="${_siteThemePath}/img/favicon.ico" />
<script type="text/javascript" src="${_siteJsPath}/jquery.js"></script>
<script type="text/javascript" src="${_siteJsPath}/bootstrap.js"></script>
<style type="text/css">
html,body {
	height: 100%;
}

#wrap {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -60px;
}

#push,#footer {
	height: 60px;
}

#footer {
	background-color: #f5f5f5;
}

.container {
	width: auto;
	max-width: 680px;
}

.container .credit {
	margin: 20px 0;
}
</style>
</head>
<body>
	<div id="wrap">
		<div class="container">
			<ul class="breadcrumb">
				<li><a href="${_sitePath}/index.html">首页</a> <span class="divider">/</span></li>
				<li class="active">节假日列表 (2013年，共${_holidayCount}个节日 )</li>
			</ul>
			<table class="table table-striped table-hover">
				<tr>
					<th>年份</th>
					<th>日期</th>
					<th>节日名称</th>
					<th>节日类别</th>
				</tr>
				<c:choose>
					<c:when test="${not empty _holidayList}">
						<c:forEach var="holiday" items="${_holidayList}">
							<tr>
								<td>${holiday.year}</td>
								<td>${holiday.date}</td>
								<td>${holiday.title}</td>
								<td>${holiday.type}</td>
							</tr>
						</c:forEach>
					</c:when>
					<c:otherwise>
						<tr>
							<td colspan="4">当前没有任何节假日数据。</td>
						</tr>
					</c:otherwise>
				</c:choose>
			</table>
		</div>
		<div id="push"></div>
	</div>
	<div id="footer">
		<div class="container">
			<p class="muted credit">&copy; 2013 Welsmann.</p>
		</div>
	</div>
</body>
</html>